package day04;

import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.util.*;

public class DoubleColoredBalls {


    public static void main(String[] args) {
        //每组从1-33中抽取一个，六个互相不重复。然后蓝球是从1-16中抽取一个数字
        List<Integer> redBalls = new ArrayList<>();
        for (int i = 1; i <= 33; i++) {
            redBalls.add(i);
        }
        System.out.println(redBalls);
        Collections.shuffle(redBalls);

        int blue = (int) (Math.random() * 16 + 1);
        System.out.println(redBalls.subList(0, 6) + "(" + blue + ")");

    }


}